﻿using CoreWf;
using CoreWf.Statements;
using System;
using System.Collections.Generic;
using System.Text;

namespace netcoreWF
{
    public class LoggingActivity : Activity
    {

        public LoggingActivity(string log)
        {
            Variable<string> Logging = new Variable<string> { Default = log };

            this.Implementation = () =>
            {
                return new WriteLine { Text = log };
            };
        }
    }
}
